package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.MaterialConfigGroup;
import com.xjscrm.console.param.materialLibrary.MaterialConfigGroupQuery;
import com.xjscrm.console.vo.MaterialConfigGroupVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MaterialConfigGroupMapper {
    int add(MaterialConfigGroup materialConfigGroup);

    List<MaterialConfigGroupVo> getMaterialConfigGroupList(MaterialConfigGroupQuery materialConfigGroupQuery);

    int delById(@Param("id") Long id, @Param("merId") Long merId);

}
